<? if($this->pageArray['pageNumber']>0):?>
			<form name="userIndexForm" id="userIndexForm" action="administrator<?=CHOSING_DE?>ad<?=CHOSING_DE?>dodel" method="post">
				<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CEE7FF" style="border-collapse:collapse">
					<tr>
						<td width="20%" class="bbgg">
							<strong>广告主题</strong>
						</td>
						<td class="bbgg">
							<strong>日期</strong>
						</td>
						<td width="20%" class="bbgg">
							<strong>编 辑</strong>
						</td>
						<td width="20%" class="bbgg">
							<strong>操 作</strong>
						</td>
					</tr>		
					<? for($i=0;$i<count($this->itemArray);$i++):?>						
					<tr bgcolor="#FFFFFF">
						<td align="center" valign="middle">
							<?=$this->itemArray[$i]['subject']?>
						</td>
						<td align="center">
							<?=date('Y-m-d',$this->itemArray[$i]['add_time'])?>
						</td>
						<td align="center">
							<a href="administrator<?=CHOSING_DE?>ad<?=CHOSING_DE?>edit?itemid=<?=$this->itemArray[$i]['itemid']?>">编 辑</a>
						</td>
						<td align="center">
							<input type="checkbox" name="itemArray[]" value="<?=$this->itemArray[$i]['itemid']?>" />
						</td>
					</tr>
					<? endfor;?>													
				</table>
        <br />
				<div style="margin:10px">全选<input type="checkbox" onClick="selectAll(this,'userIndexForm','itemArray[]');" />　<input onClick="return checkShouldDelItems('userIndexForm','itemArray[]',1);" type="submit" value="删除"/></div>
				<div style="margin:10px">共 <?=$this->pageArray['pageNumber']?> 页　<?=$this->pageString?></div>
			</form>
<?else:?>
<?=$this->getMsg('暂无广告信息!');?>
<?endif;?>
<script>

</script>